package cn.bandeqing.finance.resp;

import cn.bandeqing.base.resp.BaseTable;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.sql.Timestamp;

@EqualsAndHashCode(callSuper = true)
@Data
public class FinanceOrderCostTable extends BaseTable implements Serializable {

    private Long ocId;

    /**
     * 订单ID
     */
    private Long orderId;

    /**
     * 小哥ID
     */
    private Long workerId;
    private String workerNickName;

    /**
     * 用户ID
     */
    private Long usId;
    private String usNickName;

    /**
     * 成本金额
     */
    private Double ocMoney;

    /**
     * 成本类型 0=工时费 1=分成
     */
    private Integer ocType;

    /**
     * 结算时间
     */
    private Timestamp ocSettlementTime;

    /**
     * 结算用户ID
     */
    private Long ocSettlementUserId;

    /**
     * 结算用户
     */
    private String ocSettlementUserName;

    /**
     * 成本描述
     */
    private String ocDesc;

    /**
     * 用户分成类型
     */
    private Integer usSplitType;

    /**
     * 用户分成比例
     */
    private Double usSplitProportion;

}
